package com.quanyan.riding.mapper;

import com.quanyan.riding.entity.db.TbRidingBike;
import com.quanyan.riding.entity.db.TbRidingBikeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbRidingBikeMapper {
    int countByExample(TbRidingBikeExample example);

    int deleteByExample(TbRidingBikeExample example);

    int deleteByPrimaryKey(String bikeCommand);

    int insert(TbRidingBike record);

    int insertSelective(TbRidingBike record);

    List<TbRidingBike> selectByExample(TbRidingBikeExample example);

    TbRidingBike selectByPrimaryKey(String bikeCommand);

    int updateByExampleSelective(@Param("record") TbRidingBike record, @Param("example") TbRidingBikeExample example);

    int updateByExample(@Param("record") TbRidingBike record, @Param("example") TbRidingBikeExample example);

    int updateByPrimaryKeySelective(TbRidingBike record);

    int updateByPrimaryKey(TbRidingBike record);
}